<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html >
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript">
	var reportPath = <%=context%>+"business/regulatoryReport";
	var todoPath = '<%=context%>' +'business/myHome/todoAndOutput/';
	var json = '${parameter}';
</script>
<title>监管报告</title>
</head>
<body class="fixed-nav">

	<div class="result-box" style="overflow: visible;">
		<div style="display: none;" id="regulatoryMaterialUploadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='regulatoryMaterialUpload' param=''></wasp:opera></div><!-- 材料上传 -->
		<div style="display: none;" id="regulatoryMaterialDwnTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='regulatoryMaterialDwn' param=''></wasp:opera></div><!-- 材料下载 -->
		<div style="display: none;" id="regulatoryReportUploadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='regulatoryReportUpload' param=''></wasp:opera></div><!-- 报告上传 -->
		<div style="display: none;" id="regulatoryReportDownloadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='regulatoryReportDownload' param=''></wasp:opera></div><!-- 报告下载 -->
		<div class="clearfix form-multi-col-panel">
		  <div class="form-item-group form-horizontal" role="form">
			   <div class="form-item">
		           <span class="form-field">监管机构</span>
		           <span class="form-input">
		            	<select class="form-control use-select2" placeholder="监管机构" name="instId" id="instId">
							<option value=""></option>
							<c:forEach var="inst" items="${instList}"> 
								<option value="${inst.instId }">${inst.instSName }</option> 
							</c:forEach>
						</select>	            	
		           </span>
		       </div>
		        
		        <div class="form-item">
		           <span class="form-field">报告日期</span>
		           <span class="form-input">
		           	<input type="text" placeholder="报告日期" class="form-control" name="q-reportTime-range" id="q-reportTime-range" value="">
		           </span>
		       </div>
		        
		        <div class="form-item">
		           <span class="form-field">材料上传日期</span>
		           <span class="form-input">
		           	<input type="text" placeholder="材料上传日期" class="form-control" name="q-uploadTime-range" id="q-uploadTime-range" value="">
		           </span>
		       </div>
		        
		        <div class="form-item">
		            <span class="form-field">报告类型</span>
		            <span class="form-input">
		            	<select class="form-control use-select2" placeholder="报告类型" name="reportType" id="reportType" width="200">
							<option value=""></option>
							<c:forEach var="reprotInfo" items="${reprotInfoList}"> 
								<option value="${reprotInfo.reportId }">${reprotInfo.reportName }</option> 
							</c:forEach>
							<%-- <wasp:dictOptions dctRootType="REGULATORY_REPORT_TYPE"></wasp:dictOptions> --%>
						</select>            	
		           </span>
		        </div> 
		        
		        <!-- <div class="form-item">
		            <span class="form-field">材料是否上传</span>
		            <span class="form-input">
		            	<select class="form-control use-select2" placeholder="材料是否上传" name="uploadFlag" id="uploadFlag">
							<option value=""></option>
							<option value="Y">是</option>
							<option value="N">否</option>
						</select>            	
		           </span>
		        </div> --> 
		        
		        <%-- <div class="form-item">
					<span class="form-field">状态</span>
					<span class="form-input">
						<select class="form-control use-select2" name="q-todoStatus" id="q-todoStatus">
		                   	<option value=""></option>
		                    <wasp:dictOptions dctRootType="TODO_STATUS"></wasp:dictOptions>
		                   </select>
					</span>
				</div> --%>
		        
				<!-- <div class="form-item">
		            <span class="form-field">报告是否可下载</span>
		            <span class="form-input">
		            	<select class="form-control use-select2" placeholder="报告是否可下载" name="downFlag" id="downFlag">
							<option value=""></option>
							<option value="Y">是</option>
							<option value="N">否</option>
						</select>            	
		           </span>
		        </div> --> 
						        
		        <div class="form-item"></div>  
		        <div class="form-item"></div>  
		        <div class="form-item"></div>  
		        <div class="form-item"></div> 
		     </div>  
		        <div class="form-item-group form-horizontal">
			  		<div class="form-item max">
			          <span class="form-field">待办状态</span>
			          <span class="form-input" style="width:55%">
			            <c:forEach var="dictDto" items="${dicList}">
			            	<i class="far fa-square todoStatus" value="${dictDto.dctValue }"></i>
			            	<label>${dictDto.dctName }</label>
			            </c:forEach>
			          </span>
			        </div>
			  	</div>
		        
		        
		     <div class="form-action">
				<button class="btn btn-primary" type="submit" id="market_opinion-search" onclick="queryByCondtion(true)"><i class="fa fa-search"></i>&nbsp;查询</button>
				<button class="btn btn-outline btn-default" id="resetBtn" type="reset">清空</button>
			</div>
	</div>
	<div class="form-search-group">
		<wasp:opera fun="batchDownNew('M')" id="regulatoryMaterialDwnList"></wasp:opera>
		<wasp:opera fun="batchDownNew('R')" id="regulatoryReportDwnList"></wasp:opera>
    </div>

<div class="jqGrid_wrapper fullscreen-wrapper">
    <table id="regulatoryReportList"></table>
    <div id="regulatoryReportPage"></div>
</div>
<script type="text/javascript" src="<%=context%>resources/modules/business/infoDisclosure/regulatoryReport/regulatoryReportListNew.js?r=<%=Math.random()%>"></script>
</body>
</html>